package com.iot.inter.entity.newpojo.response.responseBody;

import com.iot.inter.entity.newpojo.response.subResponse.common.Page;
import com.iot.inter.entity.newpojo.response.subResponse.common._DevicePackages;
import lombok.Getter;
import lombok.Setter;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

@Setter
@Getter
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "body")
public class SyncPackageAndDeviceResponseBody {

    @XmlElement(name = "device_num")
    private Integer deviceNum;

    @XmlElement(name = "device_packages")
    private List<_DevicePackages> device_packages;

    @XmlElement(name = "page")
    private Page page;
}
